package com.love.testnetwork;

import android.app.Application;
import android.content.Context;

/**
 * Created by zf on 2016/11/26.
 */

public class MainApp extends Application{
    private static MainApp mainApp;
    @Override
    public void onCreate() {
        super.onCreate();
        mainApp = this;
    }

    public static Context getAppContext(){
        return mainApp.getApplicationContext();
    }

}
